package com.hnbtr.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hnbtr.dao.AttendanceDao;
import com.hnbtr.pojo.Attendance;
import com.hnbtr.service.AttendanceService;

@Service("attendanceService")
public class AttendanceServiceImpl implements AttendanceService {

	@Autowired
	private AttendanceDao attendanceDao;
	
	@Override
	@Transactional(readOnly=false)
	public void update(Attendance attendance) {
		attendanceDao.updateAttendance(attendance);
	}

}
